<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员登录</title>
<link href="__APP__/statics/css/style.css" rel="stylesheet" type="text/css"  charset="utf-8"/>
<style>
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font-family:"微软雅黑",Arial,Lucida,Verdana,Helvetica,sans-serif;font-size:12px;color:#333;line-height:150%;background:#fff;}
a:link,a:visited{color:#333;text-decoration:none;}
a:hover{color:#317ee7;}
a:active{color:#900;}

.login{width:850px;margin:0 auto;margin-top:50px;height:100%}
.login .left{width:450px;float:left;}
.login .right{border:1px solid #C0C0C0;width:270px;float:right;overflow:hidden;padding:30px;}
</style>
<script src="__APP__/statics/jquery.1.4.2.js"></script>
<script>
$(function(){
$("#login").click(function(){
    var uname=$("input[name=uname]").val();
	var pwd=$("input[name=pwd]").val();
	if(uname==''&&pwd==''){
	   jNotify("<strong>请输入用户名跟密码！</strong>",{VerticalPosition : 'center',HorizontalPosition : 'center'});
	}else{
			$.ajax({
			type:"POST",
			url:"__URL__/login/",
			dataType:"html",
			data:{method:"login",uname:uname,pwd:pwd},
			success:function(data){
				if(data=="succ"){
					jSuccess("<strong>登录成功！</strong>",{TimeShown : 2000,VerticalPosition : 'center',HorizontalPosition : 'center',onClosed:function(){location.reload();}})
				}else{
					jError("<strong>密码或用户名错误！</strong>",{VerticalPosition : 'center',HorizontalPosition : 'center'});
				}
			}
		   })
	 }
})
})
</script>
</head>
<body>

<div class="top" style="width:850px;margin:0 auto;margin-top:20px;">
<a href="__APP__"><img src="__APP__/statics/logo-201305.png"></a>
</div>
<div class="login">
  <div class="left">{$loginad.content}</div>
  <div class="right">
  <form  method="POST" action="javascript:;">
          <table border="0" width="250px;">
			<tr>
				<td colspan="2">账户名或邮箱：</td>
		   </tr>
	       <tr>
				<td colspan="2"><input type="text" name="uname" value="" style="width:237px;height:20px;padding:5px"></td>
		   </tr>
	       <tr>
				<td colspan="2">登录密码：</td>
	      </tr>
	       <tr>
				<td colspan="2"><input type="password" name="pwd" size="36" style="width:237px;height:20px;padding:5px"></td>
		  </tr>
		  <tr>
		      <td>　</td>
			  <td>　</td>
	    </tr>
	      <tr>
		        <td colspan="2"><input id="login" type="image" src="__APP__/statics/login.jpg"></td>
	     </tr>
	    <tr>
			 <td style="font-size:13px;"><a href="__GROUP__/Public/get_password">忘记密码?</a></td>
		     <td align="right" style="font-size:13px;text-decoration:none"><font color="#3366FF"><a href="__URL__/reg">免费注册</a></font></td>
	   </tr>
	   <tr>
		    <td colspan="2"><a href="__APP__/Member/qqlogin"><img src="__APP__/statics/qq_login.png"></a></td>
	   </tr>
</table>
  </form>  
  </div>
</div>
<div style="clear:both"></div>
<link rel="stylesheet" type="text/css" href="__APP__/statics/css/jNotify.jquery.css" />
<script type="text/javascript" src="__APP__/statics/jNotify.jquery.js"></script>
<include file="Public:footersmall"/>